﻿using System;
using System.ServiceModel;
using System.ServiceModel.Channels;

namespace SBPweb.Forge.Communication.WCF
{

    public class PollingDuplexCompositeHost : CustomHost
    {

        public PollingDuplexCompositeHost(Type serviceType, Type contentType, params Uri[] baseAddresses)
            : base(serviceType, contentType, baseAddresses)
        {
        }

        protected override Binding CreateBindingInstanceForHttp(Type type, Uri address)
        {
            return new PollingDuplexHttpBinding();
        }

    }

}